home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-10-17 | 4.4 KB | 190 lines |
- # Begin Generic
- STDWIN= ..
- CONF= $(STDWIN)/conf
- H= $(STDWIN)/h
- TOOLS= $(STDWIN)/tools
- ALFA= $(STDWIN)/alfa
- MG1= $(STDWIN)/mg1
- X11= $(STDWIN)/x11
- X11LIBS= $(X11)/lib.a $(LIBX11)
- LIBX11= $(LIBXLIB)/libX11.a
- LIBXT= $(LIBXLIB)/libXaw.a $(LIBXLIB)/libXt.a
- XTLIBS= $(STDWIN)/xt/lib.a $(LIBXT) $(LIBX11)
- STUBS= $(STDWIN)/stubs
- INCLUDES= -I$(H) $(SYSINCLUDES) $(SITEINCLUDES) $(LINCLUDES)
- DEFS= $(SYSDEFS) $(SITEDEFS) $(LDEFS)
- CPPFLAGS= $(DEFS) $(INCLUDES)
- OPTIONS= $(SYSOPTIONS) $(SITEOPTIONS) $(LOPTIONS)
- CFLAGS= $(CPPFLAGS) $(OPTIONS)
- LDFLAGS= $(OPTIONS)
- LINTFLAGS= -bhv
- LINT= lint
- # End Generic
- # Begin Sys.bsd42
- SYSINCLUDES=
- SYSDEFS= -DNO_MEMCPY -DNO_VOID_FPTR
- SYSOPTIONS=
- LIBXLIB= /usr/lib
- # End Sys.bsd42
- # Begin Make.conf
-
- SRCS= bind.c draw.c event.c keymap.c measure.c menu.c scroll.c \
- stdwin.c syswin.c
- OBJS= bind.o draw.o event.o keymap.o measure.o menu.o scroll.o \
- stdwin.o syswin.o
- OFILES= $(OBJS) ../tools/*.o ../vtrm/*.o ../gen/*.o ../textedit/*.o \
- ../vt/*.o
-
- lib.a: $(OFILES)
- -rm -f @lib.a
- ar cq @lib.a $(OFILES)
- ranlib @lib.a
- mv -f @lib.a lib.a
-
- all: lib.a
-
- # End Make.conf
- # Begin Rules
- all: Makefile
-
- Makefile: $(CONF)/Generic $(CONF)/Rules $(CONF)/mkmk Make.conf
- @echo "Makefile out-of-date -- rerun $(CONF)/mkmk"; exit 1
-
- depend: $(SRCS)
- $(CONF)/mkdep $(CPPFLAGS) $(SRCS) >@mkdep
-
- tags: $(SRCS) $(HDRS)
- ctags -w $(SRCS) $(HDRS)
-
- clean::
- -rm -f core *.o [,@#]*
-
- clobber:: clean
- -rm -f lib.a tags *.[A-Z]
-
- lint: $(SRCS) $(HDRS)
- $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(SRCS) $(LINTLIBS)
- # End Rules
- bind.o: bind.c
- bind.o: ./alfa.h
- bind.o: ../h/tools.h
- bind.o: ../h/configure.h
- bind.o: /usr/include/stdio.h
- bind.o: /usr/include/ctype.h
- bind.o: /usr/include/strings.h
- bind.o: ../h/l_defs.h
- bind.o: ../h/vtrm.h
- bind.o: ../h/stdwin.h
- bind.o: ../h/stdevent.h
- bind.o: ../h/stdtext.h
- bind.o: ./menu.h
- bind.o: /usr/include/sgtty.h
- bind.o: /usr/include/sys/ioctl.h
- bind.o: /usr/include/sys/ttychars.h
- bind.o: /usr/include/sys/ttydev.h
- draw.o: draw.c
- draw.o: ./alfa.h
- draw.o: ../h/tools.h
- draw.o: ../h/configure.h
- draw.o: /usr/include/stdio.h
- draw.o: /usr/include/ctype.h
- draw.o: /usr/include/strings.h
- draw.o: ../h/l_defs.h
- draw.o: ../h/vtrm.h
- draw.o: ../h/stdwin.h
- draw.o: ../h/stdevent.h
- draw.o: ../h/stdtext.h
- draw.o: ./menu.h
- event.o: event.c
- event.o: ./alfa.h
- event.o: ../h/tools.h
- event.o: ../h/configure.h
- event.o: /usr/include/stdio.h
- event.o: /usr/include/ctype.h
- event.o: /usr/include/strings.h
- event.o: ../h/l_defs.h
- event.o: ../h/vtrm.h
- event.o: ../h/stdwin.h
- event.o: ../h/stdevent.h
- event.o: ../h/stdtext.h
- event.o: ./menu.h
- keymap.o: keymap.c
- keymap.o: ./alfa.h
- keymap.o: ../h/tools.h
- keymap.o: ../h/configure.h
- keymap.o: /usr/include/stdio.h
- keymap.o: /usr/include/ctype.h
- keymap.o: /usr/include/strings.h
- keymap.o: ../h/l_defs.h
- keymap.o: ../h/vtrm.h
- keymap.o: ../h/stdwin.h
- keymap.o: ../h/stdevent.h
- keymap.o: ../h/stdtext.h
- keymap.o: ./menu.h
- measure.o: measure.c
- measure.o: ./alfa.h
- measure.o: ../h/tools.h
- measure.o: ../h/configure.h
- measure.o: /usr/include/stdio.h
- measure.o: /usr/include/ctype.h
- measure.o: /usr/include/strings.h
- measure.o: ../h/l_defs.h
- measure.o: ../h/vtrm.h
- measure.o: ../h/stdwin.h
- measure.o: ../h/stdevent.h
- measure.o: ../h/stdtext.h
- measure.o: ./menu.h
- menu.o: menu.c
- menu.o: ./alfa.h
- menu.o: ../h/tools.h
- menu.o: ../h/configure.h
- menu.o: /usr/include/stdio.h
- menu.o: /usr/include/ctype.h
- menu.o: /usr/include/strings.h
- menu.o: ../h/l_defs.h
- menu.o: ../h/vtrm.h
- menu.o: ../h/stdwin.h
- menu.o: ../h/stdevent.h
- menu.o: ../h/stdtext.h
- menu.o: ./menu.h
- scroll.o: scroll.c
- scroll.o: ./alfa.h
- scroll.o: ../h/tools.h
- scroll.o: ../h/configure.h
- scroll.o: /usr/include/stdio.h
- scroll.o: /usr/include/ctype.h
- scroll.o: /usr/include/strings.h
- scroll.o: ../h/l_defs.h
- scroll.o: ../h/vtrm.h
- scroll.o: ../h/stdwin.h
- scroll.o: ../h/stdevent.h
- scroll.o: ../h/stdtext.h
- scroll.o: ./menu.h
- stdwin.o: stdwin.c
- stdwin.o: /usr/include/signal.h
- stdwin.o: ./alfa.h
- stdwin.o: ../h/tools.h
- stdwin.o: ../h/configure.h
- stdwin.o: /usr/include/stdio.h
- stdwin.o: /usr/include/ctype.h
- stdwin.o: /usr/include/strings.h
- stdwin.o: ../h/l_defs.h
- stdwin.o: ../h/vtrm.h
- stdwin.o: ../h/stdwin.h
- stdwin.o: ../h/stdevent.h
- stdwin.o: ../h/stdtext.h
- stdwin.o: ./menu.h
- syswin.o: syswin.c
- syswin.o: ./alfa.h
- syswin.o: ../h/tools.h
- syswin.o: ../h/configure.h
- syswin.o: /usr/include/stdio.h
- syswin.o: /usr/include/ctype.h
- syswin.o: /usr/include/strings.h
- syswin.o: ../h/l_defs.h
- syswin.o: ../h/vtrm.h
- syswin.o: ../h/stdwin.h
- syswin.o: ../h/stdevent.h
- syswin.o: ../h/stdtext.h
- syswin.o: ./menu.h
-